<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href='<?php echo asset_url()."customcss/custombody.css"; ?>'>

<title>Welcome to CodeIgniter</title>

<style type="text/css">


</style>
</head>
<body>

<div id="container">
<table class="table table-hover">
<tr><th>ID</th><th>Batch</th><th>Name</th><th>Department</th><th>Company/College/University</th><th>Location</th><th>Designation</th><th>Contact</th><th>Email ID</th></tr>
<?php 

	foreach ($query as $row)
	{
		echo "<tr><td>".$row->id."</td><td>".$row->batch."</td><td>".$row->name."</td><td>".$row->deptCode."</td>
		<td>".$row->current_company."</td><td>".$row->curren_loc."</td><td>".$row->current_desig."</td>
		<td>".$row->mobile."</td><td>".$row->email_id."</td></tr>";
	}

?>
</table>
</div>
	<script src='<?php echo asset_url()."/js/bootstrap.min.js"?>'></script>
	<script src='<?php echo asset_url()."/js/jquery-1.10.2.min.js"?>'></script>
	</body>
</html>